Piwik\Archive\ArchiveInvalidator D

Total Complexity 129
Dependencies 27
Dependents 12
Total lines 586
Lines of code 387
Logical lines of code 254
Comment lines 143
Methods 33
Properties 5

Methods 33

Method Rating Maintainability Complexity Lines of code
markArchivesAsInvalidated()
B
43 20 39
reArchiveReport()
A
46 13 36
removeInvalidationsFromDistributedList()
A
48 11 34
getAllPeriodsByYearMonth()
A
57 8 16
removeDatesThatHaveBeenPurged()
S
58 7 14
markArchivesOverlappingRangeAsInvalidated()
S
52 6 24
applyScheduledReArchiving()
S
54 6 18
getRememberedArchivedReportsThatShouldBeInvalidated()
S
52 5 24
addChildPeriodsByYearMonth()
S
61 5 12
scheduleReArchiving()
S
60 5 11
addParentPeriodsByYearMonth()
S
63 4 9
markArchivesInvalidated()
S
59 3 14
rememberToInvalidateArchivedReportsLater()
S
59 3 14
makePeriod()
S
65 3 8
findOlderDateWithLogs()
S
66 3 8
deleteOptionLike()
S
61 2 11
getAllRememberToInvalidateArchivedReportsLater()
S
61 2 11
getSegmentArchiving()
S
72 2 6
removeInvalidationsSafely()
S
64 2 9
getAllSitesId()
S
67 2 8
removeInvalidations()
S
69 2 7
shouldPropagateUp()
S
77 2 3
forgetRememberedArchivedReportsToInvalidateForSite()
S
69 2 7
getRememberedArchivedReportsOptionFromTracker()
S
67 2 8
forgetRememberedArchivedReportsToInvalidate()
S
75 1 4
buildRememberArchivedReportIdProcessSafe()
S
69 1 6
buildRememberArchivedReportIdForSiteAndDate()
S
72 1 5
buildRememberArchivedReportIdForSite()
S
80 1 3
markInvalidatedArchivesForReprocessAndPurge()
S
76 1 4
getYearMonth()
S
80 1 3
getUniquePeriodId()
S
79 1 3
getDaysWithRememberedInvalidationsForSite()
S
80 1 3
__construct()
S
74 1 5